package triePackage;

public class Test {

public static void main(String[] args){
		
		ITrieFactory factory = new TrieFactory();
		ITrie trie = factory.createTrie();
	
		ITrieReference result = trie.insert("Apfel");
		ITrieReference resul2 = trie.insert("Birne");
		ITrieReference resul3 = trie.insert("Alarm");
		ITrieReference resul4 = trie.insert("Apfelbaum");
		ITrieReference resul5 = trie.insert("Applaus");
		
		//result = trie.get("Software");
//		resul2 = trie.get("Sofa");
		//ITrieReference result3  = trie.get("Software");
//		
//		
		//System.out.println("Ergebnis: " + result.getValue() + "    " +resul2.getValue() + "     " + result3.getValue());
//		boolean b = trie.hasKey("Sofa");
//		System.out.println(b);
		
		
		
		
	}
}
